package com.zcl.javaClassAndObject.inheritance;

/**
 * @Description:
 * @author: zcl
 * @date: 2021/12/10  10:55
 */
public class RockChild extends Rock{

    RockChild(){
        System.out.println("RockChild nonParam Constructor");
    }

    RockChild(int  i){
        super(i);
        System.out.println("RockChild int Constructor");
    }


    public static void main(String[] args) {
        RockChild rockChild = new RockChild(3);
    }
}
